package Communication;

import java.io.Serializable;

/**
 *
 * Class description goes here.
 *
 * @author Kamil Gajowy
 */
public class TaskForServer implements Serializable {

    private int taskID;

    /**
     * ID of client to process
     */
    private int clientID;

    /**
     * Floor to travel to
     */
    private int floorToTravel;

    /**
     * Action to take. Defined in TaskConst
     */
    private int actionToTake;

    /**
    * Default constructor.
     * @param clientID
     * @param floorToTravel
     * @param actionToTake
     */
    public TaskForServer(int clientID, int floorToTravel, int actionToTake, int taskID){
        this.clientID = clientID;
        this.actionToTake = actionToTake;
        this.floorToTravel = floorToTravel;
        this.taskID = taskID;
    }

    /**
     * @return the clientID
     */
    public int getClientID() {
        return clientID;
    }

    /**
     * @return the floorToTravel
     */
    public int getFloorToTravel() {
        return floorToTravel;
    }

    /**
     * @return the actionToTake
     */
    public int getActionToTake() {
        return actionToTake;
    }

    /**
     * @return the taskID
     */
    public int getTaskID() {
        return taskID;
    }

    /**
     * @param taskID the taskID to set
     */
    public void setTaskID(int taskID) {
        this.taskID = taskID;
    }


}//end class
